package com.efeichong.project.domain.vo;

import com.efeichong.mapping.Mapping;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author lxk
 * @date 2021/3/5
 * @description
 */
@Setter
@Getter
@ApiModel("部门表")
public class DeptUserVo {
    private Long id;
    @ApiModelProperty(value = "名称")
    private String name;
    @Mapping(poProperty = "parent.id")
    @ApiModelProperty(value = "上级id")
    private Long parentId;
    @ApiModelProperty(value = "0部门 1用户")
    private Integer type = 0;
}
